﻿@model Backend.JYD.Model.Bid.BidRecord

@{
    ViewBag.Title = "Edit";
    Layout = "~/Views/Shared/_Layout.cshtml";
}

<h2>Edit</h2>

@using (Html.BeginForm()) {
    @Html.ValidationSummary(true)
    <fieldset>
        <legend>BidRecord</legend>

        <div class="editor-label">
            @Html.LabelFor(model => model.BidId)
        </div>
        <div class="editor-field">
            @Html.EditorFor(model => model.BidId)
            @Html.ValidationMessageFor(model => model.BidId)
        </div>

        <div class="editor-label">
            @Html.LabelFor(model => model.InviteId)
        </div>
        <div class="editor-field">
            @Html.EditorFor(model => model.InviteId)
            @Html.ValidationMessageFor(model => model.InviteId)
        </div>

        <div class="editor-label">
            @Html.LabelFor(model => model.UserId)
        </div>
        <div class="editor-field">
            @Html.EditorFor(model => model.UserId)
            @Html.ValidationMessageFor(model => model.UserId)
        </div>

        <div class="editor-label">
            @Html.LabelFor(model => model.LoanMoney)
        </div>
        <div class="editor-field">
            @Html.EditorFor(model => model.LoanMoney)
            @Html.ValidationMessageFor(model => model.LoanMoney)
        </div>

        <div class="editor-label">
            @Html.LabelFor(model => model.Term)
        </div>
        <div class="editor-field">
            @Html.EditorFor(model => model.Term)
            @Html.ValidationMessageFor(model => model.Term)
        </div>

        <div class="editor-label">
            @Html.LabelFor(model => model.Rate)
        </div>
        <div class="editor-field">
            @Html.EditorFor(model => model.Rate)
            @Html.ValidationMessageFor(model => model.Rate)
        </div>

        <div class="editor-label">
            @Html.LabelFor(model => model.Remark)
        </div>
        <div class="editor-field">
            @Html.EditorFor(model => model.Remark)
            @Html.ValidationMessageFor(model => model.Remark)
        </div>

        <div class="editor-label">
            @Html.LabelFor(model => model.Type)
        </div>
        <div class="editor-field">
            @Html.EditorFor(model => model.Type)
            @Html.ValidationMessageFor(model => model.Type)
        </div>

        <div class="editor-label">
            @Html.LabelFor(model => model.Status)
        </div>
        <div class="editor-field">
            @Html.EditorFor(model => model.Status)
            @Html.ValidationMessageFor(model => model.Status)
        </div>

        <div class="editor-label">
            @Html.LabelFor(model => model.CreateTime)
        </div>
        <div class="editor-field">
            @Html.EditorFor(model => model.CreateTime)
            @Html.ValidationMessageFor(model => model.CreateTime)
        </div>

        <div class="editor-label">
            @Html.LabelFor(model => model.UpdateTime)
        </div>
        <div class="editor-field">
            @Html.EditorFor(model => model.UpdateTime)
            @Html.ValidationMessageFor(model => model.UpdateTime)
        </div>

        <div class="editor-label">
            @Html.LabelFor(model => model.OpId)
        </div>
        <div class="editor-field">
            @Html.EditorFor(model => model.OpId)
            @Html.ValidationMessageFor(model => model.OpId)
        </div>

        <p>
            <input type="submit" value="Save" />
        </p>
    </fieldset>
}

<div>
    @Html.ActionLink("Back to List", "Index")
</div>

